export default {	
	setConfig({
		commit,
		state
	}, data) {
		state.appConfig = data;
		sessionStorage.setItem('a_config', JSON.stringify(data));

	},
	//设置滚动条 以后所有页面全写这
	setScrollTop({commit,state},parObj){
		for(var i in parObj){
			state.scrollTop[i] = parObj[i];
		}
	},

}